<template>
  <el-config-provider :locale="locale" :message="config">
      <router-view />
  </el-config-provider>
</template>

<script setup>
import { ref, reactive, getCurrentInstance } from "vue";
const { proxy } = getCurrentInstance()
import { ElConfigProvider } from 'element-plus'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const locale = zhCn
const config = reactive({
  max: 1
})
</script>

<style lang="less"></style>
